package top.mcwebsite.playandroid.common.constant

object RouteConfig {
   object Home {
      const val PATH = "home"
   }

   object QA {
      const val PATH = "qa"
   }

   object TiXi {
      const val PATH = "tixi"
   }

   object Me {
      const val PATH = "me"
   }

   object ArticleDetail {
      const val PATH = "article_detail"
      const val PARAM_URL = "url"
   }

   object Message {
      const val PATH = "message"
   }

   object Search {
      const val PATH = "search"
   }

   object Login {
      const val PATH = "login"
   }

   object Register {
      const val PATH = "register"
   }

   object Settings {
      const val PATH = "settings"
   }

   object Coin {
      const val PATH = "coin"
      object Param {
         const val COIN_INFO = "coin_info"
      }
   }

   object CoinRank {
      const val PATH = "coin_rank"
   }

   object QADetail {
      const val PATH = "qa_detail"
      object Param {
         const val QA_ID = "qaId"
         const val ARTICLE = "article"
      }
   }

   object Answer {
      const val PATH = "answer"
      object Param {
         const val QA_ID = "qaId"
         const val INDEX = "index"
         const val QUESTION = "question"
         const val COMMENTS = "comments"
      }
   }

   object ArticleList {
      const val PATH = "article/list?cid={cid}&title={title}"
      object Param {
         const val CID = "cid"
         const val TITLE = "title"
      }
   }
}